import request from '@/utils/request'


/**
 * salesTarget 分页查询
 * GET /buRealityCost/getList
 */
export function getList(query) {
  return request({
    url: '/api/admin/salesTarget/getList',
    method: 'get',
    params: query
  })
}

/**
 * salesTarget 批量删除
 */
export function deleteData(list) {
  return request({
    url: '/api/admin/salesTarget/deleteData',
    method: 'post',
    data: list
  })
}

/**
 * salesTarget 新增
 */
export function insertData(list) {
  return request({
    url: '/api/admin/salesTarget/insertData',
    method: 'post',
    data: list
  })
}

/**
 * salesTarget 批量更新
 */
export function updateData(list) {
  return request({
    url: '/api/admin/salesTarget/updateData',
    method: 'post',
    data: list
  })
}

